<?php

declare(strict_types=1);

namespace seecms;

class SeeException extends \Exception
{
    public function __construct($message = '', $code = 0, \Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }

    /**
     * @param $message
     * @return mixed
     * @throws SeeException
     */
    public static function throw($message)
    {
        throw new self($message, 200);
    }
}